import 'normalize.css/normalize.css'
import 'element-ui/lib/theme-chalk/index.css'
import './styles/base.less'
import './styles/index.less'
// import 'babel-polyfill' // 兼容低版本浏览器
// import 'es6-promise' // 兼容低版本浏览器
import Vue from 'vue'
import VueRouter from 'vue-router'
import ElementUI from 'element-ui'
import App from './App'
import {router} from './router'
Vue.use(VueRouter)
Vue.use(ElementUI, {size: 'mini'})

Vue.config.productionTip = false
console.log(router)

// console.log(router)
/* eslint-disable no-new */
new Vue({
  router,
  components: { App },
  template: '<App/>'
}).$mount('#app')
